package com.foreknow.exam;

public class Test {
    public static void main(String[] args) {
        A a = new A("tom");
        a.A();
        B b = new B();

        C c = new C();
//        c.C();
        D d = new D();
//        d.D();

        b.B(c,d);

    }
}
